package com.leyou.dao;

import com.leyou.domain.db1entity.TableCell;
import com.leyou.domain.db1entity.TableCellExample;
import com.leyou.domain.vo.RecordPageVO;
import com.leyou.domain.vo.ShowVO;
import com.leyou.domain.vo.TurnTableRecordVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TableCellMapper {
    long countByExample(TableCellExample example);

    int deleteByExample(TableCellExample example);

    int deleteByPrimaryKey(String cellkey);

    int insert(TableCell record);

    int insertSelective(TableCell record);

    List<TableCell> selectByExample(TableCellExample example);

    TableCell selectByPrimaryKey(String cellkey);

    int updateByExampleSelective(@Param("record") TableCell record, @Param("example") TableCellExample example);

    int updateByExample(@Param("record") TableCell record, @Param("example") TableCellExample example);

    int updateByPrimaryKeySelective(TableCell record);

    int updateByPrimaryKey(TableCell record);

    List<TableCell> getTableCellList(String activitykey);

    int deleteCell(TableCell tableCell);

    List<ShowVO> getActivityShow();

    List<ShowVO> getRecordShow();

    List<TurnTableRecordVO> getTurnTableRecord(RecordPageVO recordPageVO);

    int getTurnTableRecordTotal(String activitykey);
}
